﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace BCGM.MedicalWisdom.Model.Models
{
    ///<summary>
    ///患者用户
    ///</summary>
    [SugarTable("PatientUser", "WMBLOG_MYSQL")]
    public class PatientUser
    {
        public PatientUser()
        {
        }
        /// <summary>
        /// Desc:患者用户Id
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int PatientUserId { get; set; }
        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:False
        /// </summary>
        public string CreateBy { get; set; }
        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// Desc:更新人
        /// Default:
        /// Nullable:False
        /// </summary>
        public string UpdateBy { get; set; }
        /// <summary>
        /// Desc:更新时间
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime UpdateTime { get; set; }=DateTime.Now;
        /// <summary>
        /// Desc:用户名称
        /// Default:
        /// Nullable:False
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// Desc:用户头像
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Image { get; set; }
        /// <summary>
        /// Desc:账号
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Accountnumber { get; set; }
        /// <summary>
        /// Desc:密码
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Pwd { get; set; }
        /// <summary>
        /// Desc:是否删除
        /// Default:
        /// Nullable:False
        /// </summary>
        public bool IsDeleted { get; set; } = false;
        /// <summary>
        /// Desc:手机号
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Phone { get; set; }
    }
}